{% extends "base.html" %}
{% block title %}Step 2 of 3 | Shop{% endblock %}
{% block body %}order{% endblock %}
{% block page_content %}

{% include "_header_hoodie.html" %}

<section class="container panel">

	<section class="col2 wysiwyg paypal">
		<h1>Order form - Step 2 of 3</h1>
		<p>Please click the PayPal button below to complete your order via secure payment.</p>

		<table class="order-table">
			<tr>
				<td class="field">First name:</td>
				<td class="alt">{{ order.first_name }}</td>
			</tr>
			
			<tr>
				<td class="field">Surname:</td>
				<td class="alt">{{ order.surname }}</td>
			</tr>
			
			<tr>
				<td class="field">Email:</td>
				<td class="alt">{{ order.email }}</td>
			</tr>
			
			<tr>
				<td class="field">Phone number:</td>
				<td class="alt">{{ order.phone_number }}</td>
			</tr>
			
			{% if order.address_line_1 %}
				<tr>
					<td class="field">Address line 1:</td>
					<td class="alt">{{ order.address_line_1 }}</td>
				</tr>
				
				<tr>
					<td class="field">Address line 2:</td>
					<td class="alt">{{ order.address_line_2 }}</td>
				</tr>
								
				<tr>
					<td class="field">City:</td>
					<td class="alt">{{ order.city }}</td>
				</tr>

				<tr>
					<td class="field">Postcode:</td>
					<td class="alt">{{ order.postcode }}</td>
				</tr>
			{% endif %}

			<tr>
				<td class="field">Shop:</td>
				<td class="alt">{{ order.shop.name }}</td>
			</tr>
			
			<tr>
				<td class="field">Colour:</td>
				<td class="alt">{{ order.colour }}</td>
			</tr>
			
			<tr>
				<td class="field">Size:</td>
				<td class="alt">{{ order.size }}</td>
			</tr>
			
			<tr>
				<td class="field">Price:</td>
				<td class="alt">&#163;{{ order.shop.price }}</td>
			</tr>
			
		</table>	
			
			
			


		{{ form.render }}
	</section>
	
	{% include "sidebar.html" %}
	
</section>
{% endblock %}